<script>
export default {
  onLaunch: function () {
    console.log('App Launch',wx)
    wx.getSystemInfo({success: e => {
      console.log(e);
      this.globalData.StatusBar = e.statusBarHeight;
      // let capsule = wx.getMenuButtonBoundingClientRect();
      // if (capsule) {
      //   this.globalData.Custom = capsule;
      //   this.globalData.CustomBar = capsule.bottom + capsule.top - e.statusBarHeight;
      // } else {
      //   this.globalData.CustomBar = e.statusBarHeight + 50;
      // }
    }})
  },
  onShow: function () {
  },
  onHide: function () {
  },
}
</script>

<style>
/**custom color */
@import "./wxcomponents/color.wxss";
/**Vant for WeChat */
@import "./wxcomponents/vant/common/index.wxss";
/**ColorUI */
@import "./wxcomponents/colorui/common/index.wxss";
.page{
  background: #fff;
}
 .btn{
    display: flex;
    justify-content: center;
	align-items: center;
    cursor: pointer;
 }

.flex {
     display: flex;
 }

 .center {
     display: flex;
     justify-content: center;
     align-items: center;
 }
 .col {
     display: flex;
     flex-direction: column;
 }


 .between {
     width: 100%;
     display: flex;
     justify-content: space-between;
 }

 .end {
     display: flex;
     justify-content: flex-end;
 }
 .cel-left{
     text-align: left !important;
 }
 .cel-right{
     text-align: right!important;
 }
 .uploader{
   margin: 10px;
 }
/*用于定制化*/

.publish-btn button{
  width: 100px !important;
  height: 30px  !important;
  border-radius: 50px  !important;
  line-height: 20PX  !important;
  border: 1px solid #897267  !important;
  margin: 0 30px  !important;
}

 .feed-textarea textarea{ 
  margin-top: 10px ;
  border-radius: 10px !important;
  border: 1px solid #cccccc !important;
  height: 100px !important;
  padding: 10PX !important;
}


.content{
  width: 330px;
  padding: 10px 0px 20px 10px;
  background: #fff;
}
</style>
